FluentEmogrifier\Vendor\Pelago\Emogrifier\HtmlProcessor\AbstractHtmlProcessor S

Total Complexity 40
Dependencies 6
Dependents 0
Total lines 389
Lines of code 151
Logical lines of code 88
Comment lines 164
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
addContentTypeMetaTag()
S
58 4 15
hasContentTypeMetaTagInHead()
S
58 3 15
hasEndOfHeadElement()
S
62 4 10
ensureExistenceOfBodyElement()
S
63 3 10
ensureDocumentType()
S
68 2 7
removeHtmlTemplateElements()
S
67 2 7
getDomDocument()
S
67 2 7
removeHtmlComments()
S
67 2 7
getXPath()
S
67 2 7
getBodyElement()
S
67 2 7
fromHtml()
S
66 2 8
ensurePhpUnrecognizedSelfClosingTagsAreXml()
S
77 1 3
normalizeDocumentType()
S
78 1 3
__construct()
S
91 1 2
prepareHtmlForDomConversion()
S
73 1 5
createRawDomDocument()
S
64 1 10
removeSelfClosingTagsClosingTags()
S
77 1 3
renderBodyContent()
S
71 1 5
render()
S
76 1 4
setDomDocument()
S
76 1 4
setHtml()
S
81 1 3
fromDomDocument()
S
73 1 5
createUnifiedDomDocument()
S
77 1 4